From ef81fc0bc00e2f86c25dd01ff33f9abc964da56f Mon Sep 17 00:00:00 2001 From: Don Slutz Date: Thu, 3 Apr 2014 15:06:59 -0400 Subject: [PATCH] xenctx: More info on failed to map page. Also output an extra new line since we may be in the middle of output. Signed-off-by: Don Slutz Acked-by: Ian Campbell Acked-by: George Dunlap --- tools/xentrace/xenctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c index eb30577cef..4bb5507212 100644 --- a/tools/xentrace/xenctx.c +++ b/tools/xentrace/xenctx.c @@ -618,7 +618,7 @@ static void *map_page(vcpu_guest_context_any_t *ctx, int vcpu, guest_word_t virt mapped = xc_map_foreign_range(xenctx.xc_handle, xenctx.domid, XC_PAGE_SIZE, PROT_READ, mfn); if (mapped == NULL) { - fprintf(stderr, "failed to map page.\n"); + fprintf(stderr, "\nfailed to map page for "FMT_32B_WORD".\n", virt); return NULL; } -- 2.30.2